﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;

namespace TestWPFEmguCV
{
    public class MainWindowViewModel:ReactiveObject
    {


        private static MainWindowViewModel m_Instance=new ();

        public static MainWindowViewModel Instance => m_Instance;

        public bool IsUseBingding = true;

        

        

        private MainWindowViewModel()
        {

        }

        [Reactive] public Byte[] Bytes { get; set; }

        [Reactive] public BitmapSource Bitmap { get; set; }
    }

    public enum AnalyticMethod
    {
        None,
         UsCVInvoke,
         MatToBmp,
    }
}
